<?php
/**
 * 企业联系方式
 *
 * */
class EcontactusModel extends Model {
    //设置关联
    public $_link = array(
                          array(
                                    'mapping_type' => BELONGS_TO,
                                    'class_name' => 'enterprise',
                                    'mapping_name' => 'enterprise',
                                    'mapping_fields' => 'enter_id,name',
                                    'foreign_key' => 'enter_id'
                                )
                          );
}
